package com.buaa.aimall.Utils.Enum;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum WorkOrderStatusEnum {
    PROCESSING("0", "PROCESSING"),
    APPROVED("1", "APPROVED"),
    REJECTED("2", "REJECTED");

    @EnumValue
    public final String code;

    @JsonValue
    public final String name;
}
